Filtering video data using a plurality of filters

ABSTRACT

Systems and methods of filtering video data using a plurality of filters are disclosed. In an embodiment, a method includes receiving and decoding a plurality of filters embedded in a video data bitstream at a video decoder. The method includes selecting, based on information included in the video data bitstream, a particular filter of the plurality of filters. The method further includes applying the particular filter to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data.

CLAIM OF PRIORITY

This application claims priority from U.S. Provisional Patent Application No. 61/079,998 filed Jul. 11, 2008, and U.S. Provisional Patent Application No. 61/094,011 filed Sep. 3, 2008, each of which is incorporated herein by reference in its entirety.

FIELD OF THE DISCLOSURE

The present disclosure is generally directed to a system and method to filter video data using a plurality of filters.

BACKGROUND

Advances in technology have resulted in smaller and more powerful computing devices. For example, there currently exist a variety of portable personal computing devices, including wireless computing devices, such as portable wireless telephones, personal digital assistants (PDAs), and paging devices that are small, lightweight, and easily carried by users. More specifically, portable wireless telephones, such as cellular telephones and Internet Protocol (IP) telephones, can communicate voice and data packets over wireless networks. Further, many such wireless telephones include other types of devices that are incorporated therein. For example, wireless telephones can also include a digital still camera, a digital video camera, a digital recorder, and an audio file player. Also, such wireless telephones can process executable instructions, including software applications, such as a web browser application, that can be used to access the Internet. As such, these wireless telephones can include significant computing capabilities.

Digital signal processors (DSPs), image processors, and other processing devices are frequently used in portable personal computing devices that include digital cameras, or that display image or video data captured by a digital camera. Such processing devices can be utilized to provide video and audio functions, to process received data such as image data, or to perform other functions.

One type of video processing involves filtering, which may be applied to enhance the quality of a decoded video signal. The filter can be applied as a post-filter, where the filtered frame is not used for prediction of future frames, or as an in-loop filter, where the filtered frame is used to predict future frames. A filter may be designed by reducing an error between the original signal and the decoded filtered signal. Similarly, to transform coefficients, the coefficients of the resulting filter may be quantized, coded, and sent to the video decoder. More precise quantized filter coefficients may enable better performance. However, as precision of quantized filter coefficients increases, a number of bits required to transmit the coefficients may also increase, with a corresponding impact on network resources, data delivery rates, or both.

SUMMARY

Multiple filters may be determined at a video encoder and provided to a receiver via a video data stream. The receiver may extract information from the data stream to identify which of the multiple filters to apply to a particular frame, a particular macroblock, a particular pixel, or any combination thereof. The multiple filters may be used for post-processing filtering or for filtering within a processing loop at a decoder.

In a particular embodiment, a method is disclosed that includes receiving and decoding a plurality of filters embedded in a video data bitstream at a video decoder. The method includes selecting, based on information included in the video data bitstream, a particular filter of the plurality of filters. The method further includes applying the particular filter to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data.

In another embodiment, an apparatus is disclosed that includes a video decoder configured to receive and decode a plurality of filters embedded in a video data bitstream. The apparatus also includes a processor configured to select, based on information included in the video data bitstream, a particular filter of the plurality of filters and to apply the particular filter to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data.

In another embodiment, an integrated circuit is disclosed that includes video decoding circuitry configured to receive and decode a signal including a plurality of filters embedded in a video data bitstream. The integrated circuit also includes processing circuitry configured to process the decoded signal to select, based on information included in the video data bitstream, a particular filter of the plurality of filters and to apply the particular filter to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data.

In another embodiment, an apparatus is disclosed that includes means for decoding a plurality of filters embedded in a video data bitstream. The apparatus includes means for selecting, based on information included in the video data bitstream, a particular filter of the plurality of filters. The apparatus further includes means for applying the particular filter to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data.

In another embodiment, a computer-readable medium storing computer executable code is disclosed. The computer-readable medium includes code for receiving and decoding a plurality of filters embedded in a video data bitstream at a video decoder. The computer-readable medium includes code for selecting, based on information included in the video data bitstream, a particular filter of the plurality of filters. The computer-readable medium further includes code for applying the particular filter to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data.

One particular advantage provided by disclosed embodiments is an improvement in the performance of filtering, particularly in the performance of post-filtering in order to enhance the quality of a decoded video signal. Another particular advantage provided by disclosed embodiments is a reduced number of bits required to transmit filter coefficients of a plurality of filters.

Other aspects, advantages, and features of the present disclosure will become apparent after review of the entire application, including the following sections: Brief Description of the Drawings, Detailed Description, and the Claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a particular illustrative embodiment of a video data processing system that includes a video data bitstream and a multimedia receiver;

FIG. 2 is a block diagram of a particular illustrative embodiment of a video data processing apparatus that includes a video decoder and a processor;

FIG. 3 is a block diagram of a particular illustrative embodiment of an integrated circuit that includes video decoding circuitry and processing circuitry;

FIG. 4 is a flow diagram of a particular illustrative embodiment of a method to filter video data using a plurality of filters; and

FIG. 5 is a block diagram of a particular embodiment of a portable communication device including a decoding and filtering module using a plurality of filters.

DETAILED DESCRIPTION

Referring to FIG. 1, a particular embodiment of a video data processing system 100 is illustrated. The video data processing system 100 includes a video data bitstream 102 received by a multimedia receiver 108. The video data bitstream 102 includes encoded video data 106, a plurality of filters 104, and filter selection information 122. The multimedia receiver 108 includes a video data decoder 110, a filtering module 112, a filter selector 118, and a display 116. The system 100 enables the multimedia receiver 108 to select a filter from the video data bitstream 102 based on the filter selection information 122.

The video data decoder 110 is configured to decode the encoded video data 106. For example, the video data decoder 110 may be configured to decode entropy encoded data and to perform an inverse discrete cosine transform (DCT) on the resulting data. In a particular embodiment, the video data decoder 110 includes a H.264 or Moving Pictures Expert Group (MPEG) compatible decoder.

The filtering module 112 is configured to receive a filter from the filter selector 118, such as the second decoded filter 120. The filtering module 112 is configured to apply the received filter 120 to decoded video data received from the video data decoder 110. The filtering module 112 may be configured to apply the filter to the decoded video data on a frame, macroblock, or pixel granularity, to produce filtered decoded video data 114 that is provided to the display 116. The filtering module 112 may be implemented within a decoding loop (not shown), or for post-processing filtering, or any combination thereof.

The filter selector 118 is configured to receive the filter selection information 122 and to select appropriate filters from the plurality of filters 104. In a particular embodiment, the filter selector 118 is adapted to decode the plurality of filters 104 and to provide selected decoded filters, such as the second decoded filter 120, to the filtering module 112. The filter selector 118 may select decoded filters to provide to the filtering module 112 based on the filter selection information 122. In a particular embodiment, the filter selector 118 compares one or more characteristics of the decoded video data that is generated by the video data decoder 110 to the filter selection information 122 to select an appropriate filter for the particular video data that is provided to the filtering module 112.

During operation, the encoded video data 106 is received and decoded by the video data decoder 110 of the multimedia receiver 108. The plurality of filters 104 and the filter selection information 122 are received and decoded at the filter selector 118 of the multimedia receiver 108. The filter selector 118 selects a particular decoded filter 120 of the plurality of filters 104 based on the filter selection information 122 included in the video data bitstream 102. The particular decoded filter 120 is applied to at least a portion of the decoded video data at the filtering module 112 of the multimedia receiver 108, producing the filtered decoded video data 114. The filtered decoded video data 114 is displayed at the display 116 of the multimedia receiver 108.

By receiving multiple filters with the encoded video data 106, the multimedia receiver 108 can select particular filters that result in a lowest error of each unit of decoded video data. For example, a filter can be selected that provides a lowest mean square error for a particular frame of video data, on a frame-by-frame basis. As another example, a filter can be selected that provides a lowest error for a particular macroblock at a macroblock-by-macroblock basis, or at a pixel-by-pixel basis. The video data processing system 100 may therefore provide an improvement in the performance of filtering, particularly in the performance of post-filtering in order to enhance the quality of a decoded video signal. In addition, by encoding the filter coefficients and in some embodiments, using coefficients of some filters to predict coefficients of later filters, the video data processing system 100 further provides a reduction in the number of bits required to transmit filter coefficients of each filter of the plurality of filters 104.

Referring to FIG. 2, a particular embodiment of a video data processing apparatus 200 is illustrated. The video data processing apparatus 200 includes a video decoder 202 and a processor 206. The video decoder 202 is configured to receive and decode a plurality of filters 204 embedded in a video data bitstream. In a particular embodiment, at least a portion of video data in the video data bitstream is encoded using MPEG encoding. The processor 206 includes a frame determination module 208, a macroblock determination module 210, a pixel determination module 212, a filter selection module 230, and a filter application module 232. In an illustrative embodiment, the video decoder 202 is the video data decoder 102 of FIG. 2, and the plurality of filters 204 is embedded in a video data bitstream in a similar manner as the plurality of filters 104 of FIG. 1 embedded in the video data bitstream 102.

In a particular embodiment, the filter selection module 230 is executable by the processor 206 to select a particular filter of the plurality of filters 204 based on information included in the video data bitstream. In a particular embodiment, the information included in the video data bitstream is similar to the filter selection information 122 of FIG. 1 included in the video data bitstream 102.

In a particular embodiment, the filter application module 232 is executable by the processor 206 to apply the particular filter selected by the filter selection module 230 to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data. In a particular embodiment, the filtered decoded video data produced is similar to the filtered decoded video data 114 of FIG. 1.

In a particular embodiment, the frame determination module 208 is executable by the processor 206 to determine frames of the video data for which each filter of the plurality of filters 204 is to be applied, where the information included in the video data bitstream identifies frames corresponding to each filter by at least one of a frame number or a frame type. In a particular embodiment, the frame types can include an intra-coded pictures frame (I-frame) type, a predictive pictures frame (P-frame) type, or a bi-predictive pictures frame (B-frame) type. For example, the frame determination module 208 may determine a frame number of each frame and provide the determined frame number to the filter selection module 230. To illustrate, the frame determination module 208 may determine that a particular frame 222 being processed has a frame number “5,” in response to which the filter selection module 230 selects a first decoded filter 216 to be applied to the decoded frame with number “5” 222. Different ways may be used to indicate which filters are to be used and which filters are to be combined. For example, it could be signaled to the decoder that for B-frame types, filters f₁, f₂, and f₃ should be used.

In a particular embodiment, the macroblock determination module 210 is executable by the processor 206 to determine macroblocks for which each filter of the plurality of filters 204 is to be applied. The information included in the video data bitstream may identify macroblocks corresponding to each filter by at least one of a listing of macroblock types (e.g., intra-frame, inter frame, bidirectional inter frame) or a range of quantization parameter values used to reconstruct the macroblocks, as illustrative, non-limiting examples. For example, the macroblock determination module 210 may determine a type of each macroblock and provide the determined macroblock type to the filter selection module 230. To illustrate, the macroblock determination module 210 may determine that a particular macroblock 224 being processed has a type “A” (e.g., an intra-frame type), in response to which the filter selection module 230 selects a second decoded filter 218 to be applied to the particular macroblock 224.

In a particular embodiment, the pixel determination module 212 is executable by the processor 206 to determine pixels to which each filter of the plurality of filters 204 is to be applied based on a predetermined measure of local characteristics of an image 214. The pixel determination module 212 may generate a value of the predetermined measure 214 for a particular pixel(i,j) 226 being processed at a row i and column j of a macroblock or a frame of the decoded video signal, in response to which the filter selection module 230 selects a third decoded filter 220 to be applied to the pixel (i,j) 226.

In a particular embodiment, the predetermined measure of local characteristics of the image 214 includes a variance value of a reconstructed image from a mean value of the reconstructed image. For example, for the reconstructed image R (i, j) where i=0, . . . ,M and j=0, . . . ,N, the mean value

R(i,j)

may be defined such that

${\langle{R\left( {i,j} \right)}\rangle} = {\frac{\sum\limits_{k = {- K}}^{K}{\sum\limits_{l = {- L}}^{L}{R\left( {{i + k},{j + l}} \right)}}}{\left( {{2K} + 1} \right)\left( {{2L} + 1} \right)}.}$

The variance value var(i,j) of the reconstructed image R(i,j) from the mean value

R(i,j)

may be defined such that

${{var}\left( {i,j} \right)} = {\frac{\sum\limits_{k = {- K}}^{K}{\sum\limits_{l = {- L}}^{L}\left( {{R\left( {{i + k},{j + l}} \right)} - {\langle{R\left( {i,j} \right)}\rangle}} \right)^{2}}}{\left( {{2K} + 1} \right)\left( {{2L} + 1} \right)}.}$

In a particular embodiment, the predetermined measure of local characteristics of the image 214 includes absolute values of differences within a reconstructed image. For example, for the reconstructed image R(i,j) where i=0, . . . ,M and j=0, . . . ,N, the absolute value of differences abs(i, j) may be defined such that

${{abs}\left( {i,j} \right)} = {\frac{\sum\limits_{k = {- K}}^{K}{\sum\limits_{l = {- L}}^{L}{{{R\left( {{i + k},{j + l}} \right)} - {R\left( {i,j} \right)}}}}}{\left( {{2K} + 1} \right)\left( {{2L} + 1} \right)}.}$

In a particular embodiment, the predetermined measure of local characteristics of the image 214 includes gradient values within a reconstructed image. For example, a gradient of image values at a pixel of interest may be determined as the predetermined measure of local characteristics of the image 214. In another embodiment, the predetermined measure of local characteristics of the image 214 includes sharpness measures within a reconstructed image.

In a particular embodiment, a first filter of the plurality of filters 204 is applied to first pixels having a first value of the predetermined measure of local characteristics of the image 214 in a first range of values and a second filter of the plurality of filters 204 is applied to second pixels having a second value of the predetermined measure of local characteristics of the image 214 in a second range of values. For example, the filters f_(m) for m=0, . . . , n+1 may be applied such that the filter f₀ is applied to pixels (i,j) having a variance value var(i,j) that lies in the range 0≦var(i,j)<var₀, the filter f₁ is applied to pixels (i,j) having a variance value var(i, j) that lies in the range var₀≦var(i, j)<var₁, and, generally, the filter f_(r) for r=1, . . . ,n is applied to pixels (i, j) having a variance value var(i, j) that lies in the range var_(r l)≦var(i,j)<var_(r) where the filter f_(n+1) is applied to pixels (i, j) having a variance value var(i,j) that lies in the range var_(n)<var(i,j). In an alternative embodiment, the filters f₁ and f₂ may be applied such that the filter f₁ is applied to pixels (i, j) having a variance value var(i, j) that lies in the range 0≦var(i, j)<var₀, the filter f₁ is applied to pixels (i, j) having a variance value var(i, j) that lies in the range var₀≦var(i, j)<var_(l), and the filter f₂ is applied otherwise.

In a particular embodiment, quantized filter coefficients of each of the filters of the plurality of filters 204 are clipped to be within a range of about 0 to about 2 raised to the nth power. The range of about 0 to about 2 raised to the nth power may be divided into a number of intervals m. The number of intervals m is determined at least partially based on indices of the quantized filter coefficients of each of the filters of the plurality of filters 204. For example, the quantized filter coefficients f_(r)(k,l) for r=0, . . . , s+1, k=−K, . . . , K, and l=−L, . . . ,L may be clipped to be within the range 0≦f_(r)(k,l)≦2^(n). The range 0≦f_(r)(k,l)≦2^(n) may be divided into a number of intervals m, where the number of intervals m is determined at least partially based on the indices (k,l) of the quantized filter coefficients f_(r)(k,l) for r=0, . . . ,s+1, k=−K,. . . , K, and l=−L, . . . ,L. In a particular embodiment, a particular quantized filter coefficient is determined by decoding a variable length codeword indicating a particular interval of the number of intervals m that corresponds to a value of the particular quantized filter coefficient, and by decoding a fixed length codeword specifying the value of the particular quantized filter coefficient within the particular interval.

In a particular embodiment, first filter coefficients of a first filter of the plurality of filters 204 are used to predict second filter coefficients of a second filter of the plurality of filters 204. For example, if filters f_(m) for m=0, . . . , n+1 correspond to different values of variance var_(r) for r=0, . . . , n, as described above, filter f₁ may be predicted from filter f₀, filter f₂ may be predicted from filter f₁, and, generally, filter f_(s+1) may be predicted from filter f_(s) for s=0, . . . , n.

One or more of the modules 208, 210, 212, 230, and 232 may be implemented as computer executable code including program instructions executing at the processor 206, as dedicated hardware circuits, as state machines, as field programmable gate arrays (FPGAs), or any combination thereof. The processor 206 may execute one or more of the frame determination module 208, the macroblock determination module 210, and the pixel determination module 212, to determine filters to be applied to the decoded video data. In a particular embodiment, the video data processing apparatus 200 may include other components not shown, such as a display device configured to display the filtered decoded video data, similar to the display 116 shown in FIG. 1.

Referring to FIG. 3, a video data processing integrated circuit 300 is illustrated. The video data processing integrated circuit 300 includes video decoding circuitry 302 and processing circuitry 306. The video decoding circuitry 302 is configured to receive and decode a signal 328 including a plurality of filters 304 embedded in a video data bitstream. In a particular embodiment, the plurality of filters 304 is embedded in a video data bitstream in a manner that is similar to the plurality of filters 104 of FIG. 1 embedded in the video data bitstream 102.

The processing circuitry 306 is configured to process the decoded signal 328 to select a particular filter of the plurality of filters 304 based on information included in the video data bitstream. In a particular embodiment, the information included in the video data bitstream is similar to the filter selection information 122 of FIG. 1 included in the video data bitstream 102. The processing circuitry 306 includes a frame determination circuit 308, a macroblock determination circuit 310, a pixel determination circuit 312, a filter selection circuit 330, and a filter application circuit 332. The processing circuitry 306 is configured to process the decoded signal from the video decoding circuitry 302 to apply a particular filter, such as a second decoded filter 316, a third decoded filter 318, or a fourth decoded filter 320, to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data. In a particular embodiment, the filtered decoded video data produced is similar to the filtered decoded video data 114 of FIG. 1.

In a particular embodiment, the frame determination circuit 308 is configured to determine frames for which each filter of the plurality of filters 304 is to be applied, where the information included in the video data bitstream identifies frames corresponding to each filter by at least one of a frame number or a frame type. For example, the frame determination circuit 308 may determine that a particular frame 322 has a frame number “6” and may provide the frame number to the filter selection circuit 330. The filter selection circuit 330 may select the second decoded filter 316 for the frame 322 based on the frame number and according to information received via the video data bitstream. The filter application circuit 332 may apply the second decoded filter 316 to the frame 322 with the frame number “6.”

In a particular embodiment, the macroblock determination circuit 310 is configured to determine macroblocks for which each filter of the plurality of filters 304 is to be applied, where the information included in the video data bitstream identifies macroblocks corresponding to each filter by at least one of a listing of macroblock types or a range of quantization parameter values used to reconstruct the macroblocks. For example, the macroblock determination circuit 310 may determine that a particular macroblock 324 has a type “B” (e.g., a bidirectional inter frame type) and may provide the macroblock type to the filter selection circuit 330. The filter selection circuit 330 may select the third decoded filter 318 for the particular macroblock 324 based on the macroblock type and according to information received via the video data bitstream. The filter application circuit 332 may apply the third decoded filter 318 to the particular macroblock 324 with the type “B.”

In a particular embodiment, the pixel determination circuit 312 is configured to process the decoded signal to determine pixels for which each filter of the plurality of filters 304 is to be applied based on a predetermined measure of local characteristics of an image 314. For example, the pixel determination circuit 312 may determine a value of the predetermined measure of local characteristics of the image 314 corresponding to a particular pixel(m,n) 326 at a row m and a column n, and may provide the value of the predetermined measure of local characteristics of the image 314 to the filter selection circuit 330. The filter selection circuit 330 may select the fourth decoded filter 320 for the pixel(m,n) 326 based on the value of the predetermined measure of local characteristics of the image 314 and according to information received via the video data bitstream. The filter application circuit 332 may apply the fourth decoded filter 320 to the pixel(m,n) 326. In a particular embodiment, the predetermined measure of local characteristics of the image 314 is determined in a substantially similar manner as the predetermined measure of local characteristics of the image 214 of FIG. 2, such as using a variance or a gradient, as illustrative, non-limiting examples.

In a particular embodiment, an apparatus includes means for decoding a plurality of filters embedded in a video data bitstream. The means for decoding a plurality of filters embedded in a video data bitstream may include a video decoder, such as the video decoder 202 shown in FIG. 2, video decoding circuitry, such as the video decoding circuitry 302 shown in FIG. 3, corresponding hardware, software, firmware, or any combination thereof. The apparatus includes means for selecting, based on information included in the video data bitstream, a particular filter of the plurality of filters. The means for selecting a particular filter of the plurality of filters may include a processor, such as the processor 206 shown in FIG. 2, processing circuitry, such as the processing circuitry 306 shown in FIG. 3, corresponding hardware, software, firmware, or any combination thereof. The apparatus further includes means for applying the particular filter to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data. The means for applying the particular filter may include a processor, such as the processor 206 shown in FIG. 2, processing circuitry, such as the processing circuitry 306 shown in FIG. 3, corresponding hardware, software, firmware, or any combination thereof.

In a particular embodiment, the apparatus includes means for determining frames for which each filter of the plurality of filters is to be applied, where the information included in the video data bitstream identifies frames corresponding to each filter by at least one of a frame number or a frame type. The means for determining frames may include a processor, such as the processor 206 shown in FIG. 2, processing circuitry, such as the processing circuitry 306 shown in FIG. 3, corresponding hardware, software, firmware, or any combination thereof.

In a particular embodiment, the apparatus includes means for determining macroblocks for which each filter of the plurality of filters is to be applied, wherein the information included in the video data bitstream identifies macroblocks corresponding to each filter by at least one of a listing of macroblock types or a range of quantization parameter values used to reconstruct the macroblocks. The means for determining macroblocks may include a processor, such as the processor 206 shown in FIG. 2, processing circuitry, such as the processing circuitry 306 shown in FIG. 3, corresponding hardware, software, firmware, or any combination thereof.

In a particular embodiment, the apparatus includes means for determining pixels for which each filter of the plurality of filters is to be applied based on a predetermined measure of local characteristics of an image. The means for determining pixels may include a processor, such as the processor 206 shown in FIG. 2, processing circuitry, such as the processing circuitry 306 shown in FIG. 3, corresponding hardware, software, firmware, or any combination thereof.

In a particular embodiment, the apparatus includes means for receiving the video data bitstream via a wireless transmission. The means for receiving the video data bitstream via a wireless transmission may include a wireless receiver, wireless receiving circuitry, a wireless transceiver, a portable communications device such as shown in FIG. 5 and described more fully below, corresponding hardware, software, firmware, or any combination thereof.

Referring to FIG. 4, a method 400 to filter video data using a plurality of filters is illustrated. The method 400 includes receiving and decoding a plurality of filters embedded in a video data bitstream at a video decoder, at 402. For example, the plurality of filters 204 of FIG. 2 may be embedded in a video data bitstream such as the video data bitstream 102 of FIG. 1. The plurality of filters 204 may be received and decoded at the video decoder 202 of FIG. 2.

The method 400 includes selecting, based on information included in the video data bitstream, a particular filter of the plurality of filters, at 404. For example, the processor 206 of FIG. 2 may select a particular filter of the plurality of filters 204, such as the first decoded filter 216, based on information included in the video data bitstream, such as the filter selection information 122 of FIG. 1 included in the video data bitstream 102.

The method 400 further includes applying the particular filter to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data, at 406. For example, the processor 206 of FIG. 2 may apply the decoded filter 216 to at least a portion of decoded video data, such as the particular frame 222, of the video data bitstream to produce filtered decoded video data, such as the filtered decoded video data 114 of FIG. 1.

FIG. 5 is a block diagram of particular embodiment of a system including a decoding and filtering module using a plurality of filters. The system 500 may be implemented in a portable electronic device and includes a processor 510, such as a digital signal processor (DSP), coupled to a memory 532. The system 500 includes a decoding and filtering module using a plurality of filters 564. In an illustrative example, the decoding and filtering module using a plurality of filters 564 includes any of the systems of FIGS. 1-3, operates in accordance with the method of FIG. 4, or any combination thereof. The decoding and filtering module using a plurality of filters 564 may be in the processor 510 or may be a separate device or circuitry along a hardware image processing pipeline (not shown), or a combination thereof.

A camera interface 568 is coupled to the processor 510 and also coupled to a camera, such as a video camera 570. The camera interface 568 may be responsive to the processor 510, such as for autofocusing and autoexposure control. A display controller 526 is coupled to the processor 510 and to a display device 528. A coder/decoder (CODEC) 534 can also be coupled to the processor 510. A speaker 536 and a microphone 538 can be coupled to the CODEC 534. A wireless interface 540 can be coupled to the processor 510 and to a wireless antenna 542.

The processor 510 may also be adapted to generate processed image data. The display controller 526 is configured to receive the processed image data and to provide the processed image data to the display device 528. In addition, the memory 532 may be configured to receive and to store the processed image data, and the wireless interface 540 may be configured to receive the processed image data for transmission via the antenna 542.

In a particular embodiment, the decoding and filtering module using a plurality of filters 564 is implemented as computer code that is running at the processor 510, such as computer executable instructions that are stored at a computer readable medium, illustrated as the computer code 590 stored at the memory 532. For example, the computer code 590 may include code for receiving and decoding a plurality of filters embedded in a video data bitstream at a video decoder, code for selecting, based on information included in the video data bitstream, a particular filter of the plurality of filters, and code for applying the particular filter to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data.

For example, the computer code 590 may also include code for determining frames for which each filter of the plurality of filters is to be applied, where the information included in the video data bitstream identifies frames corresponding to each filter by at least one of a frame number or a frame type. As another example, the computer code 590 may also include code for determining macroblocks for which each filter of the plurality of filters is to be applied, where the information included in the video data bitstream identifies macroblocks corresponding to each filter by at least one of a listing of macroblock types or a range of quantization parameter values used to reconstruct the macroblocks. Alternatively or in addition, the computer code 590 may include code for determining pixels for which each filter of the plurality of filters is to be applied based on a predetermined measure of local characteristics of an image. In a particular embodiment, a first filter of the plurality of filters may be applied to first pixels having a first value of the predetermined measure of local characteristics of the image in a first range of values and a second filter of the plurality of filters is applied to second pixels having a second value of the predetermined measure of local characteristics of the image in a second range of values.

In a particular embodiment, the processor 510, the display controller 526, the memory 532, the CODEC 534, the wireless interface 540, and the camera interface 568 are included in a system-in-package or system-on-chip device 522. In a particular embodiment, an input device 530 and a power supply 544 are coupled to the system-on-chip device 522. Moreover, in a particular embodiment, as illustrated in FIG. 5, the display device 528, the input device 530, the speaker 536, the microphone 538, the wireless antenna 542, the video camera 570, and the power supply 544 are external to the system-on-chip device 522. However, each of the display device 528, the input device 530, the speaker 536, the microphone 538, the wireless antenna 542, the video camera 570, and the power supply 544 can be coupled to a component of the system-on-chip device 522, such as an interface or a controller.

Those of skill would further appreciate that the various illustrative logical blocks, configurations, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, configurations, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.

The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disk, a removable disk, a compact disk read-only memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application-specific integrated circuit (ASIC). The ASIC may reside in a computing device or a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a computing device or user terminal.

The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the disclosed embodiments. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope possible consistent with the principles and novel features as defined by the following claims. 

1. A method comprising: receiving and decoding a plurality of filters embedded in a video data bitstream at a video decoder; selecting, based on information included in the video data bitstream, a particular filter of the plurality of filters; and applying the particular filter to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data.
 2. The method of claim 1, further comprising: determining frames for which each filter of the plurality of filters is to be applied, wherein the information included in the video data bitstream identifies frames corresponding to each filter by at least one of a frame number and a frame type.
 3. The method of claim 1, further comprising: determining macroblocks for which each filter of the plurality of filters is to be applied, wherein the information included in the video data bitstream identifies macroblocks corresponding to each filter by at least one of a listing of macroblock types and a range of quantization parameter values used to reconstruct the macroblocks.
 4. The method of claim 1, further comprising: determining pixels for which each filter of the plurality of filters is to be applied based on a predetermined measure of local characteristics of an image.
 5. The method of claim 4, wherein the predetermined measure of local characteristics of the image includes a variance value of a reconstructed image from a mean value of the reconstructed image.
 6. The method of claim 4, wherein the predetermined measure of local characteristics of the image includes absolute values of differences within a reconstructed image.
 7. The method of claim 4, wherein the predetermined measure of local characteristics of the image includes gradient values within a reconstructed image.
 8. The method of claim 4, wherein the predetermined measure of local characteristics of the image includes sharpness measures within a reconstructed image.
 9. The method of claim 4, wherein a first filter of the plurality of filters is applied to first pixels having a first value of the predetermined measure of local characteristics of the image in a first range of values and a second filter of the plurality of filters is applied to second pixels having a second value of the predetermined measure of local characteristics of the image in a second range of values.
 10. The method of claim 1, wherein quantized filter coefficients of each of the filters of the plurality of filters are clipped to be within a range of about 0 to about 2 raised to the nth power, wherein the range of about 0 to about 2 raised to the nth power is divided into a number of intervals m, and wherein the number of intervals m is determined at least partially based on indices of the quantized filter coefficients of each of the filters of the plurality of filters.
 11. The method of claim 10, wherein a particular quantized filter coefficient is determined by decoding a variable length codeword indicating a particular interval of the number of intervals m that corresponds to a value of the particular quantized filter coefficient, and by decoding a fixed length codeword specifying the value of the particular quantized filter coefficient within the particular interval.
 12. The method of claim 1, wherein first filter coefficients of a first filter of the plurality of filters are used to predict second filter coefficients of a second filter of the plurality of filters.
 13. The method of claim 1, wherein at least a portion of video data in the video data bitstream is encoded using MPEG encoding.
 14. An apparatus comprising: a video decoder configured to receive and decode a plurality of filters embedded in a video data bitstream; and a processor configured to: select, based on information included in the video data bitstream, a particular filter of the plurality of filters; and apply the particular filter to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data.
 15. The apparatus of claim 14, wherein the processor is further configured to: determine frames for which each filter of the plurality of filters is to be applied, wherein the information included in the video data bitstream identifies frames corresponding to each filter by at least one of a frame number and a frame type; determine macroblocks for which each filter of the plurality of filters is to be applied, wherein the information included in the video data bitstream identifies macroblocks corresponding to each filter by at least one of a listing of macroblock types and a range of quantization parameter values used to reconstruct the macroblocks; and determine pixels for which each filter of the plurality of filters is to be applied based on a predetermined measure of local characteristics of an image.
 16. The apparatus of claim 14, further comprising a display device configured to display the filtered decoded video data.
 17. An integrated circuit comprising: video decoding circuitry configured to decode a signal including a plurality of filters embedded in a video data bitstream; and processing circuitry configured to process the decoded signal to: select, based on information included in the video data bitstream, a particular filter of the plurality of filters; and apply the particular filter to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data.
 18. The integrated circuit of claim 17, wherein the processing circuitry is further configured to process the decoded signal to: determine frames for which each filter of the plurality of filters is to be applied, wherein the information included in the video data bitstream identifies frames corresponding to each filter by at least one of a frame number and a frame type; determine macroblocks for which each filter of the plurality of filters is to be applied, wherein the information included in the video data bitstream identifies macroblocks corresponding to each filter by at least one of a listing of macroblock types and a range of quantization parameter values used to reconstruct the macroblocks; and determine pixels for which each filter of the plurality of filters is to be applied based on a predetermined measure of local characteristics of an image.
 19. The integrated circuit of claim 17, wherein a first filter of the plurality of filters is applied to first pixels having a first value of a predetermined measure of local characteristics of an image in a first range of values and a second filter of the plurality of filters is applied to second pixels having a second value of the predetermined measure of local characteristics of the image in a second range of values.
 20. An apparatus comprising: means for decoding a plurality of filters embedded in a video data bitstream; means for selecting, based on information included in the video data bitstream, a particular filter of the plurality of filters; and means for applying the particular filter to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data.
 21. The apparatus of claim 20, further comprising at least one of: means for determining frames for which each filter of the plurality of filters is to be applied, wherein the information included in the video data bitstream identifies frames corresponding to each filter by at least one of a frame number and a frame type; means for determining macroblocks for which each filter of the plurality of filters is to be applied, wherein the information included in the video data bitstream identifies macroblocks corresponding to each filter by at least one of a listing of macroblock types and a range of quantization parameter values used to reconstruct the macroblocks; and means for determining pixels for which each filter of the plurality of filters is to be applied based on a predetermined measure of local characteristics of an image.
 22. The apparatus of claim 20, further comprising means for receiving the video data bitstream via a wireless transmission.
 23. A computer-readable medium storing computer executable code comprising: code for decoding a plurality of filters embedded in a video data bitstream at a video decoder; code for selecting, based on information included in the video data bitstream, a particular filter of the plurality of filters; and code for applying the particular filter to at least a portion of decoded video data of the video data bitstream to produce filtered decoded video data.
 24. The computer-readable medium of claim 23, further comprising: code for determining frames for which each filter of the plurality of filters is to be applied, wherein the information included in the video data bitstream identifies frames corresponding to each filter by at least one of a frame number and a frame type; code for determining macroblocks for which each filter of the plurality of filters is to be applied, wherein the information included in the video data bitstream identifies macroblocks corresponding to each filter by at least one of a listing of macroblock types and a range of quantization parameter values used to reconstruct the macroblocks; and code for determining pixels for which each filter of the plurality of filters is to be applied based on a predetermined measure of local characteristics of an image.
 25. The computer-readable medium of claim 23, wherein a first filter of the plurality of filters is applied to first pixels having a first value of a predetermined measure of local characteristics of an image in a first range of values and a second filter of the plurality of filters is applied to second pixels having a second value of the predetermined measure of local characteristics of the image in a second range of values. 